package model

import "nearby/biz/model/vo"

type (
	CreateCommentRequest struct {
		EntityType string            `form:"entity_type" json:"entity_type" binding:"required"` // 评论所针对的实体类型, 枚举值 "moment": 动态; "comment": 评论.
		EntityID   string            `form:"entity_id" json:"entity_id" binding:"required"`     // 评论所针对的实体id
		Content    vo.CommentContent `form:"content" json:"content" binding:"required"`         // 评论内容
	}

	CreateCommentResponse struct {
		Meta    Meta       `json:"meta"`
		Comment vo.Comment `json:"comment"`
	}
)
